package constant;

public class PatternConstant {
    public static final String USERNAME_PATTERN = "[a-zA-Z][a-zA-Z0-9_]{3,}";

    public static final String PASSWORD_PATTERN = "[a-zA-Z][^\\u4e00-\\u9fa5]{9,24}";

    public static final String ID_NUMBER_PATTERN = "[1-9]\\d{5}(?:18|19|20)\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])\\d{3}[0-9Xx]";

    public static final String PHONE_PATTERN = "1[3-9]\\d{9}";

    public static final String AGE_PATTERN = "[1-9]\\d*";
}
